package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dto.ActivityTaskPlanAdminDTO;
import com.sc.nft.entity.ActivityTaskPlan;
import org.apache.ibatis.annotations.Param;
import com.sc.nft.entity.ActivityTaskPlan;
import java.util.List;
/**
 * (ActivityTaskPlan)表数据库访问层
 *
 * @author 王伟成
 * @since 2023-09-15 16:05:20
 */
public interface ActivityTaskPlanMapper extends BaseMapper<ActivityTaskPlan> {

    Page<ActivityTaskPlan> taskRecord(Page page,@Param("userId") Long userId,@Param("activityId") Long activityId);

    Page<ActivityTaskPlanAdminDTO> adminTaskRecord(Page page,@Param("userId") Long userId,@Param("activityId")  Long activityId, @Param("taskName") String taskName);
}
